<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="lib/vue.js"></script>
</head>
<body>
<div id="root">
</div>
</body>
<script type="module">
    import Vue from "./module/vue.js";
	const data = {
		num:10
	}
	const vm = new Vue({
		data,
        methods:{
			fn(){
				this.num = 10000;
				console.log(this,this.num)
            }
        }
	});
	// console.log(vm.$data === data);
    // vm.num = 20;
	// console.log(vm.$data.num);

    // vm.$data.num = 200;
	// console.log(vm.num);// 200

	// console.log(vm);

    vm.fn();
	console.log(vm.num);// 10000
</script>
</html>